<div class="modal fade addKeyWordWin" data-backdrop="static" id="automaticMatchingModel">
  <div class="modal-dialog modal-lg modal-dialog-centered">
    <div class="modal-content" style="border:0px;">
      <!-- 模态框头部 -->
      <div class="modal-header">
        <h4 class="modal-title">机器自动匹配主题词 — {{themeTableName}}</h4>
        <button type="button" class="close" data-dismiss="modal">&times;</button>
      </div>
      <!-- 模态框主体 -->
      <div class="modal-body">
        <div class="container">
          <div class="row txtTitle">
            <input matInput type="text" class="input_style" #queryCriteria="ngModel" name="searchData" placeholder="请输入主题词名称"
              (keyup.enter)="changesearch()" [(ngModel)]="searchData" />
            <button class="btn btn-search btn-blue" style="margin-right: 10px;" (click)="search()" mat-button>查询
            </button>
          </div>
          <div class="PI-keyWordBox">
            <div class="row">
              <div class="col-lg-12 col-md-12 col-sm-12 tab1-table">
                <div class="row treeview treeviewBox" style="height:400px;" [ngStyle]="{'overflow':tabValList && tabValList.length > 10?'scroll':''}">
                  <table class="table table-hover table-striped tableStyle" style="border:0px;">
                    <thead>
                      <tr>
                        <th><input type="checkbox" #event (click)="_selectAll(event.checked,tabValList)" [checked]="isSelectAll">标引</th>
                        <th>主题词</th>
                        <th>操作</th>
                      </tr>
                    </thead>
                    <tbody>
                      <tr *ngFor="let val of tabValList">
                        <td>
                          <input type="checkbox" #event (click)="_nodeSelect(event.checked,val)" [checked]="iitArr[val.themeWordsId] || isChose" [disabled]="iitArr[val.themeWordsId]">
                        </td>
                        <td>
                          {{val.themeWordsName}}
                        </td>
                        <td>
                          <a *ngIf="iitArr[val.themeWordsId] === true" style="color:#C8C8C8;">删除</a>
                          <a *ngIf="iitArr[val.themeWordsId] !== true" class="bgTaskTxt" style="color:#518199" data-toggle="modal" data-target="#automaticMatchingDelete" (click)="_deleteId(val.id)">删除</a>
                        </td>
                      </tr>
                    </tbody>
                  </table>

                </div>

              </div>

            </div>
          </div>
          <!-- 分页 BEGIN -->
          <app-pagination [pageSize]="pageSize" [getTotalItems]="total" (isLoadTableFromPagination)="_pagination($event)"></app-pagination>
          <!-- 分页 END -->
        </div>
      </div>
      <!-- 模态框底部 -->
      <div class="modal-footer">
        <button type="button" class="btn btn-primary" data-dismiss="modal" (click)="_addAutomaticMatchingTheme()"
          [disabled]="_isEmpty()">确定标引</button>
        <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
      </div>

    </div>
  </div>
</div>

<!-- 删除提示 -->
<div class="modal fade bd-example-modal-sm" tabindex="-1" role="dialog" data-keyboard="false" data-backdrop="static"
  aria-labelledby="myModalLabel" aria-hidden="true" id="automaticMatchingDelete">
  <div class="modal-dialog delete-modal modal-dialog-centered">
    <div class="modal-content">
      <div class="modal-header">
        <h4 class="modal-title text-center">删除提示</h4>
      </div>
      <div class="modal-body text-center">
        <p class="delete-prompt">请确认是否删除！</p>
      </div>
      <div class="modal-footer" style="width: 100%;">
        <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
        <button type="button" class="btn btn-primary" data-dismiss="modal" (click)="_delete()">确定</button>
      </div>
    </div>
  </div>
</div>
<!-- 删除提示 -->